//package com.snapan.task;
//
//import com.snapan.service.EmailVerificationService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
//@Component
//public class CleanupTask {
//
//    @Autowired
//    private EmailVerificationService emailVerificationService;
//
//    @Scheduled(cron = "0 0 3 * * ?")
//    public void cleanExpiredVerificationCodes() {
//        emailVerificationService.cleanExpiredVerificationCodes();
//    }
//}